package com.lsm.czxxgl_system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * ClassName: IndexController
 * Package: com.lsm.czxxgl_system.controller
 * Description:
 *
 * @Author lsm
 * @Create 2024/6/26 8:38
 * @Version 1.0
 */
@Controller
public class IndexController {
    @GetMapping("/")
    public String index() {
        return "login";
    }

    @GetMapping("/main")
    public String main() {
        return "main";
    }

    @GetMapping("/add")
    public String add() {
        return "add/add_user";
    }
}
